package com.hubu.jwxt.beans;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class Admin {
    /*
    CREATE TABLE `admin`  (
  `a_id` int(5) NOT NULL AUTO_INCREMENT COMMENT '主键ID标识',
  `a_num` varchar(20) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL COMMENT '管理员学工号',
  `a_pwd` varchar(20) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL COMMENT '管理员密码',
  `a_name` varchar(20) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL COMMENT '管理员用户名',
  `a_sex` enum('男','女') CHARACTER SET utf8 COLLATE utf8_bin NOT NULL COMMENT '管理员性别，枚举类型',
  `a_age` int(5) NOT NULL COMMENT '管理员年龄',
  `a_phone` varchar(20) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL COMMENT '管理员手机',
  `a_email` varchar(50) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL COMMENT '管理员邮箱',
  PRIMARY KEY (`a_id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 2 CHARACTER SET = utf8 COLLATE = utf8_bin ROW_FORMAT = DYNAMIC;
     */

    private int a_id;
    private String a_num;
    private String a_pwd;
    private String a_name;
    private Enum.Sex a_sex;
    private int a_age;
    private String a_phone;
    private String a_email;
}
